package com.ruoyi.business.service;

import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.alibaba.excel.metadata.CellExtra;
import com.ruoyi.business.domain.CivilServants;
import com.ruoyi.business.domain.ListType;
import com.ruoyi.business.mapper.CivilServantsMapper;
import com.ruoyi.business.mapper.ListTypeMapper;
import com.ruoyi.common.utils.poi.ExcelUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Service
public class ListTypeService {

    @Autowired
    ListTypeMapper listTypeMapper;


    public List<ListType> list(String prosCons) {
        List<ListType> list = listTypeMapper.list(prosCons);
        return list;
    }
}
